package com.clt.web.pojo;

import java.util.ArrayList;
import java.util.List;

/**
 * 微信菜单对象
 * 
 * @author wenjian
 *
 */
public class WxMenu {
	private Integer id;

	private String name;

	private String contentType;//菜单类型

	private String content;//菜单描述

	private WxMenu parentMenu;

	private List<WxMenu> childs = new ArrayList<WxMenu>();

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name == null ? null : name.trim();
	}

	public String getContentType() {
		return contentType;
	}

	public void setContentType(String contentType) {
		this.contentType = contentType == null ? null : contentType.trim();;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content == null ? null : content.trim();
	}

	public WxMenu getParentMenu() {
		return parentMenu;
	}

	public void setParentMenu(WxMenu parentMenu) {
		this.parentMenu = parentMenu;
	}

	public List<WxMenu> getChilds() {
		return childs;
	}

	public void setChilds(List<WxMenu> childs) {
		this.childs = childs;
	}
}